GXGetShapeStyle
You can use theGXGetShapeStyle
function to determine the style object associated with a QuickDraw GX shape.
gxStyle GXGetShapeStyle(gxShape source);
source
- A reference to the shape object whose style object is to be determined.
- function result
- A reference to the style object associated with the source shape object.
ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory shape_is_nil SEE ALSO
The relationship of style objects to QuickDraw GX shapes is discussed in "About QuickDraw GX Shapes" beginning on page 2-5. Style objects themselves are further discussed in the chapter "Style Objects" in this book.To change the style object associated with a QuickDraw GX shape, use the
GXSetShapeStyle
function, described in the next section.